package com.yangrd.airship.generator.support;

import lombok.Value;

import java.io.Writer;
import java.util.List;

/**
 * @author yangrd
 * @date 2021/11/8
 */
public interface PageGeneratorWriter {

    /**
     * listWriter
     *
     * @param context
     * @return
     */
    List<Writer> listWriter(TableGeneratorWriterContext context);


    @Value(staticConstructor = "of")
    class TableGeneratorWriterContext {
        String path;
        String fullName;
    }
}
